#include <cstdio>
#include <unistd.h>

int main() {
    printf("\nthis is an singal test function\n\n");

    while (1) {
        printf("waiting for the SIGINT signal , please enter \"ctrl + c\"...\n");
        sleep(1);
    }

    _exit(0);
}